
using Newtonsoft.Json;
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;

namespace CoreCms.Net.Model.Entities
{
  
    public partial class CoreCmsCart
    {


   


        [Navigate(NavigateType.OneToOne, nameof(productId))]//一对一 导航属性
        [SugarColumn(IsIgnore = true)]
        [AllowNull]
        public CoreCmsProducts product { get; set; }

        [Navigate(NavigateType.OneToOne, nameof(goodsId))]//一对一 导航属性
        [SugarColumn(IsIgnore = true)]
        [AllowNull]
        public CoreCmsGoods goods { get; set; }

        [SugarColumn(IsIgnore = true)]
        [AllowNull]
        public bool isSelect { get; set; } = true;

        [SugarColumn(IsIgnore = true)]
        [AllowNull]
        public decimal price { get; set; } 

    }
}